package com.atguigu.gulimall.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author 小坏
 * @Date 2021/2/17 2:09
 * @Version 1.0
 * @program: 父工程 gulimall 万物起源之地
 */

@FeignClient("gulimall-order")
public interface OrderFeignService {
    @GetMapping("order/order/status/{orderSn}")
    public R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
